import {FormRuleUtil} from "@/utils";


export const WXMP_ACCOUNT_EDIT = {
    BODY: {
        aesKey: "",
        appId: "",
        kfPhoto: '',
        name: "",
        qrPhoto: '',
        secret: "",
        token: "",
        type: ""
    },
    RULES: {
        appId: FormRuleUtil.strRule("公众号APPID", true, 20),
        secret: FormRuleUtil.strRule("公众号秘钥", true, 50),
        aesKey: FormRuleUtil.strRule("aesKey", true, 50),
        kfPhoto: {
            url: FormRuleUtil.strRule("客户二维码", true),
        },

        qrPhoto: {
            url: FormRuleUtil.strRule("默认二维码", true),
        },
        type: FormRuleUtil.strRule("公众号类型", true),
        token: FormRuleUtil.strRule("TOKEN字符串", true, 50),


    }
}


export const WXMP_TAGS_EDIT = {
    BODY: {

        appId: "",
        tagName: '',

    },
    RULES: {
        appId: FormRuleUtil.strRule("公众号APPID", true, 20),
        tagName: FormRuleUtil.strRule("公众号秘钥", true, 50),


    }
}
